package com.common.zrd.mapper.mymapper;

import org.apache.ibatis.annotations.UpdateProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;

import java.util.List;

/**
 * @author: zrd
 * @Date: 2020/4/15 14:39
 * @Description:
 */
@RegisterMapper
public interface DisableMapper<T> {
    @UpdateProvider(type = DisableProvider.class, method = "dynamicSQL")
    int disable(T value);

    @UpdateProvider(type = DisableProvider.class, method = "dynamicSQL")
    int enable(T value);

    @UpdateProvider(type = DisableProvider.class, method = "dynamicSQL")
    int updateList(List<T> value);

}
